package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Friendship;
import cn.wolfcode.trip.base.domain.FriendshipPraise;
import cn.wolfcode.trip.base.query.FriendshipQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IFriendshipService {
    PageInfo<Friendship> query(FriendshipQueryObject qo);

    void saveFriendship(Friendship friendship);

    void saveGood(FriendshipPraise praise);

    void deleteGood(Long friendshipId);

    Object getGood(Long friendshipId);

    PageInfo<Friendship> getFirendshipById(Long friendshipId);
}
